package com.syni.mdd.sjb.common.component.mybatis.dxshapp.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity.DxshAppUserChannel;
import com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity.customBo.DxshAppUserChannelBo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 电享生活app用户渠道表 Mapper 接口
 * </p>
 *
 * @author cfx
 * @since 2020-04-21
 */
public interface DxshAppUserChannelMapper extends BaseMapper<DxshAppUserChannel> {

    List<DxshAppUserChannelBo> getUserChannelGroupByType(@Param(Constants.WRAPPER) Wrapper<DxshAppUserChannel> queryWrapper);


    List<DxshAppUserChannelBo> selectMoreChannelUseBusiness(Map<String,Object> queryMap);


    DxshAppUserChannel getMddChannelByUserId(Integer channelId);
}
